package com.example.service.statistics.impl;
/*
 *  @ClassName:LikeNumCourseServiceImpl
 *  @Author:WZ
 *  @DateTime:2023/1/30/15:54
 *
 *  课程统计---课程点赞热度
 */

import com.example.dao.statistics.LikeNumCourseDao;
import com.example.pojo.Course;
import com.example.service.statistics.LikeNumCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class LikeNumCourseServiceImpl implements LikeNumCourseService {
    @Autowired
    private LikeNumCourseDao likeNumCourseDao;

    @Override
    public List<Course> getLikeNumCourseZj7t() {
        return likeNumCourseDao.getLikeNumCourseZj7t();
    }

    @Override
    public List<Course> getLikeNumCourseZj30t() {
        return likeNumCourseDao.getLikeNumCourseZj30t();
    }

    @Override
    public List<Course> getLikeNumCourseZj90t() {
        return likeNumCourseDao.getLikeNumCourseZj90t();
    }

    @Override
    public List<Course> getLikeNumCourse() {
        return likeNumCourseDao.getLikeNumCourse();
    }

    @Override
    public List<Course> getLikeNumCourseLike(String s1, String s2) {
        return likeNumCourseDao.getLikeNumCourseLike(s1,s2);
    }
}
